package com.netposa.datawarehouse.bodysearch.consumer.fallback;

import com.netposa.datawarehouse.bodysearch.consumer.SearchServiceFeign;
import com.netposa.npwonder.base.model.ResponseData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class SearchServiceFeignFallback implements SearchServiceFeign {
   private static final Logger log = LoggerFactory.getLogger(SearchServiceFeignFallback.class);

   public ResponseData coverInfo(String id) {
      log.error("{}|{}", "SearchServiceFeign coverInfo error", id);
      return null;
   }
}
